home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 21 / AACD 21.iso / AACD / Programming / CVS / source / diff / smakefile
Encoding:
Makefile  |  2001-02-07  |  2.8 KB  |  110 lines

  1. # Generated automatically from Makefile.in by configure.
  2. # Makefile for GNU DIFF
  3. # Copyright (C) 1988,1989,1991,1992,1993,1994,1997,1998 Free Software Foundation, Inc.
  4. #
  5. # This file is part of GNU DIFF.
  6. #
  7. # GNU DIFF is free software; you can redistribute it and/or modify
  8. # it under the terms of the GNU General Public License as published by
  9. # the Free Software Foundation; either version 2, or (at your option)
  10. # any later version.
  11. #
  12. # GNU DIFF is distributed in the hope that it will be useful,
  13. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15. # GNU General Public License for more details.
  16.  
  17. #### Start of system configuration section. ####
  18.  
  19. srcdir     = .
  20. top_srcdir = ..
  21. subdir     = diff
  22.  
  23. CC = sc
  24. AR =
  25.  
  26. CPPFLAGS = 
  27. DEFS = define=HAVE_CONFIG_H
  28. RANLIB =
  29. CFLAGS = cpu=any utillib commentnest structureequivalence stringmerge nostackcheck \
  30.          optimize opttime optschedule debug=line
  31.  
  32. prefix = 
  33. exec_prefix = ${prefix}
  34.  
  35. PR_PROGRAM = /bin/pr
  36.  
  37. #### End of system configuration section. ####
  38.  
  39. SHELL = /bin/sh
  40.  
  41. # The source files for all of the programs.
  42. SOURCES = diff.c diff3.c analyze.c cmpbuf.c cmpbuf.h io.c context.c ed.c \
  43.     normal.c ifdef.c util.c dir.c version.c diff.h side.c system.h \
  44.     diffrun.h
  45. OBJECTS = diff.o diff3.o analyze.o cmpbuf.o dir.o io.o util.o \
  46.     context.o ed.o ifdef.o normal.o side.o version.o
  47. DISTFILES = $(SOURCES) ChangeLog build_diff.com Makefile.in diagmeet.note \
  48.     libdiff.dsp .cvsignore
  49.  
  50. all: diff.lib
  51.  
  52. # $(top_srcdir)/lib is so we don't get the system-supplied headers for
  53. # functions that we supply ourselves in lib.  $(srcdir) is perhaps not
  54. # necessary if we assume the unix compiler behavior whereby "" looks
  55. # in the directory containing the .c file first.
  56. # -I. is probably unnecessary (I don't think we generate any .h files).
  57. # -I.. is for config.h.
  58. COMPILE = $(CC) $(CPPFLAGS) $(DEFS) \
  59.     idir="/amiga/include" idir="/amiga" idir="/amiga/netinclude" \
  60.     idir="" idir="/" idir="/lib" $(CFLAGS)
  61.  
  62. .c.o:
  63.     $(COMPILE) $<
  64.  
  65. diff.lib: $(OBJECTS)
  66.     -delete $@ quiet
  67.     oml $@ r $(OBJECTS)
  68.  
  69. libdiff libdiff.a: $(OBJECTS)
  70.     $(AR) cr libdiff.a $(OBJECTS)
  71.     -$(RANLIB) libdiff.a
  72.  
  73. $(OBJECTS): diff.h diffrun.h system.h
  74. analyze.o cmpbuf.o: cmpbuf.h
  75.  
  76. # ZZZ olsen: it should be possible to support the paginate option
  77. #util.o: util.c
  78. #    $(COMPILE) -DPR_PROGRAM=\"$(PR_PROGRAM)\" $<
  79.  
  80. install: all
  81.  
  82. installdirs:
  83.     @: nothing to do for installdirs
  84. .PHONY: installdirs
  85.  
  86. TAGS: $(SOURCES)
  87.     etags $(SOURCES)
  88.  
  89. clean:
  90.     rm -f *.o *.a core
  91.  
  92. mostlyclean: clean
  93.  
  94. distclean: clean
  95.     rm -f TAGS tags Makefile
  96.  
  97. realclean: distclean
  98.  
  99. Makefile: Makefile.in ../config.status
  100.     cd .. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status 
  101.  
  102. dist-dir:
  103.     mkdir ${DISTDIR}
  104.     for i in ${DISTFILES}; do \
  105.       ln $(srcdir)/$${i} ${DISTDIR}; \
  106.     done
  107.  
  108. # Prevent GNU make v3 from overflowing arg limit on SysV.
  109. .NOEXPORT:
  110.